import http from 'k6/http';
import { check, sleep } from 'k6';

export const options = {
  stages: [
    { duration: '10s', target: 10 },
    { duration: '30s', target: 10 }, // 20 user 1 min
    { duration: '10s', target: 20 },
    { duration: '30s', target: 20 }, // 50 user 1 min
    { duration: '10s', target: 0 },
  ],
};

export default function () {
  const res = http.get('https://run.mocky.io/v3/3da79a18-288c-4a70-bc7a-3a1133f25601');
  sleep(1);
}